package com.ghsc.ghxc.jsb.config

import com.aliyun.auiappserver.RetrofitManager
import com.aliyun.common.AlivcBase

/**
 * 项目：GuoHuaMall
 * 包名：com.ghsc.ghxc.config
 * 类名：AUIInteractionLiveManager
 * 创建时间：2023/8/15 01:38
 * 创建人 @author： xiaolin
 * 描述 ：Todo...
 */
class AUIInteractionLiveManager {
    private val TAG_PROJECT_INTERACTION_LIVE = "aui-live-interaction"
    /**
     * 启动配置
     */
    fun setup() {
        AlivcBase.setIntegrationWay(TAG_PROJECT_INTERACTION_LIVE)
        setupAppServerUrl()
    }

    private fun setupAppServerUrl() {
        if (CustKey.APP_EN_MENT==0){
            RetrofitManager.setAppServerUrl(RetrofitManager.Const. APP_SERVER_URL_ALIVC )
        }else
            RetrofitManager.setAppServerUrl(RetrofitManager.Const.APP_SERVER_URL_RONG_CLOUD)

    }
}